package example.entity;

import java.io.Serializable;

/**
 * @Description: UserEntity
 * @Author: mingtian
 * @CreateDate: 2021/1/21 14:38
 * @Version: 1.0
 */
public class UserEntity implements Serializable {
    private String userName;
    private int age;
    private String address;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public UserEntity() {
    }

    public UserEntity(String userName, int age, String address) {
        this.userName = userName;
        this.age = age;
        this.address = address;
    }

    @Override
    public String toString() {
        return "UserEntity{" +
                "userName='" + userName + '\'' +
                ", age=" + age +
                ", address='" + address + '\'' +
                '}';
    }
}